#paragraphe{
  padding-left: 80px;
  padding-right: 129px;
  font-size: 20px;
  padding-left: 50px;
  padding-right: 34px;
  padding-bottom: 6px;
  padding-top: 10px;
  margin-bottom: 5px;
  margin-top: 10px;
}

nav[data-toggle=toc] .nav>li>a {
    font-size: 15px;
}

nav[data-toggle=toc] .nav-link.active, nav[data-toggle=toc] .nav-link.active:focus, nav[data-toggle=toc] .nav-link.active:hover, nav[data-toggle=toc] .nav>li>a:focus, nav[data-toggle=toc] .nav>li>a:hover {
    color: #6e9cff;
    border-left: 2px solid #6e9cff;
}

.navbar {
    background: #8fb2fd;
}

.navbar-nav .dropdown-menu {
    z-index: 10000;
}


/*for 1 image************************/


.image-container2 {
    max-width: 70%; /* Set the maximum width for the container */
    margin: 0 auto; /* Center the container horizontally */
}

.image-container2 img {
    max-width: 90%; /* Set the maximum width for the image to 100% of its parent container */
    height: auto; /* Maintain the aspect ratio */
}

/*table************/




#page-container {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
}

#table-container {
    overflow-x: auto;
    /* max-width: 80%;  Set the maximum width of the table container */
  }
  #table-container {
    max-height: 800px; /* Set the maximum height for the table */
    overflow-y: auto; /* Enable vertical scrollbar when the content exceeds the height */
}
  table {
    border-collapse: collapse;
  }

   th, td {
    padding: 8px;
    border: 1px solid #ccc;
  }

  /*2 image*/
  
   
  .image-container {
    display: flex;
    flex-direction: row; /* Stack elements horizontally */
    justify-content: center;
    align-items: center;
    height: 100vh; /* Adjust the height if needed */
  }

  /* Style for each image and paragraph container */
  .image-box {
    text-align: center; /* Center the content within each box */
    margin: 20px; /* Add some space between the boxes */
    flex-basis: 45%; /* Each box takes 50% of the row's width */
  }


  /* Style for each image */
  .image-box img {
    max-width: 85%; /* Adjust the width to fit the container */
    max-height: 85%; /* Keep the aspect ratio */
  }
  














  * {
    box-sizing: border-box;
  }
  
  .column {
    float: left;
    width: 33.33%;
    padding: 5px;
  }
  
  /* Clearfix (clear floats) */
  .row::after {
    content: "";
    clear: both;
    display: table;
  }






/*3img*/

  
.boxes{
  width:50%;
  float:left;
  }
  #mainDiv{
    width:90%;
  margin:auto;
  }
  img{
    max-width:100%;
  }
  /* Three image containers (use 25% for four, and 50% for two, etc) */
  .column {
    float: left;
    width: 33%;
    padding: 5px;
  }
  
  /* Clear floats after image containers */
  .row::after {
    content: "";
    clear: both;
    display: table;
  }



















  /* Style for the modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Style for the modal content */
.modal-content {
  background-color: #f3f3f3;
  margin: 15% auto;
  padding: 20px;
  width: 70%;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style for the close button */
.modal-content button {
  display: block;
  margin: 10px auto;
  padding: 8px 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Style for the links */
.modal-content ul {
  list-style: none;
  padding: 0;
}

.modal-content li {
  margin-bottom: 8px;
}

.modal-content a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f3f3f3;
  color: grey;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid grey;
}

/* Style for the links on hover */
.modal-content a:hover {
  background-color: #e5e5e5;
}

/* Style for the close button on hover */
.modal-content button:hover {
  background-color: #45a049;
}












.main-title {
  font-family: 'Arial', sans-serif;
font-size: 1.7rem;
font-weight: bold;
text-align: left;
margin-top: 20px;
padding: 10px 0;
background: linear-gradient(5deg, #252625aa, #1e1e1e, #0b0e0a);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
padding-left: 20px;
}




/* Style for the green separator line */

nav[data-toggle="toc"] {
top: 90px;
}

/* small screens */
@media (max-width: 768px) {
/* override stickyness so that the navigation does not follow scrolling */
nav[data-toggle="toc"] {
margin-bottom: 42px;
position: static;
}

/* PICK ONE */
/* don't expand nested items, which pushes down the rest of the page when navigating */
nav[data-toggle="toc"] .nav .active .nav {
display: none;
}
/* alternatively, if you *do* want the second-level navigation to be shown (as seen on this page on mobile), use this */
/*
nav[data-toggle='toc'] .nav .nav {
display: block;
}
*/
}
















/* Style for the table header cells with sorting indicators */
th.sort-asc::after {
  content: "▲";
  color: #6e9cff;
  margin-left: 5px;
cursor: pointer;
}

th.sort-desc::after {
  content: "▼";
  color: #6e9cff;
  margin-left: 5px;
    cursor: pointer;
}

/* Hover effect for sorting indicators */
th.sort-asc:hover::after,
th.sort-desc:hover::after {
  color: #5f90fa;
}

/* Custom scrollbar style for the table of contents */
#toc {
  overflow: auto;
  height: 85vh;
  padding: 10px;
}

#toc::-webkit-scrollbar {
  width: 10px;
}

#toc::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

#toc::-webkit-scrollbar-thumb {
  background: #888;
}

#toc::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

@media (max-width: 768px) {
  #toc {
    overflow: auto;
    height: 30vh;
    padding: 10px;
  }
}
